//
//  GJAnnotation.m
//  xmgjAppFront
//
//  Created by Zeki on 2020/7/10.
//  Copyright © 2020 guojutech. All rights reserved.
//

#import "GJAnnotation.h"
#import <AMapFoundationKit/AMapFoundationKit.h>
@implementation GJAnnotation
- (void)setModel:(GJPetrolStationModel *)model{
  _model = model;
  self.coordinate = AMapCoordinateConvert(CLLocationCoordinate2DMake([model.latitude floatValue], [model.longitude floatValue]), AMapCoordinateTypeBaidu);
}

- (instancetype)init
{
  self = [super init];
  if (self) {
    
  }
  return self;
}
@end
